<template>
    <el-table :data="dataList" row-key="id" style="width: 100%" max-height="250">
        <el-table-column prop="snum" label="订单号" />
        <el-table-column prop="username" label="用户名" />
        <el-table-column prop="sender" label="配送员" />
        <el-table-column prop="pickup" label="是否自取" />
        <el-table-column prop="sendpay" label="配送费" />
    </el-table>
</template>
<script setup>
import { ref } from 'vue'
const dataList = ref([
    {
        id: 1,
        snum: '20250316000001',
        username: 'Kevin ***',
        sender: 'test',
        pickup: 'yes',
        sendpay: '6.00'
    }, {
        id: 1,
        snum: '20250316000002',
        username: 'Mark ***',
        sender: 'test1',
        pickup: 'yes',
        sendpay: '3.25'
    }, {
        id: 1,
        snum: '20250316000003',
        username: 'Jack ***',
        sender: 'test2',
        pickup: 'yes',
        sendpay: '4.00'
    }
])
</script>